aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
diff options
context:
space:
mode:
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected12
1 files changed, 6 insertions, 6 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index d05ee160..2ccf0329 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -7,25 +7,25 @@ Compilation unit elements:
locals=((param "closurePointer__0" data-ptr) (param "local__isActive" int) (param "local__name" int) (val "structValuePointer__0" data-ptr) (val "structValue__0" int))
return-type=int
body=(
- (alloc-heap (local "structValuePointer__0") (struct (data-ptr (struct (int (struct (int int)))))))
+ (alloc-heap (local "structValuePointer__0") (struct ((struct (data-ptr int)) (struct (int (struct (int int)))))))
(
memory-store
pointer=(local "structValuePointer__0")
- layout=(struct (data-ptr (struct (int (struct (int int))))))
+ layout=(struct ((struct (data-ptr int)) (struct (int (struct (int int))))))
offset=(1 0)
value=(int 0)
)
(
memory-store
pointer=(local "structValuePointer__0")
- layout=(struct (data-ptr (struct (int (struct (int int))))))
+ layout=(struct ((struct (data-ptr int)) (struct (int (struct (int int))))))
offset=(1 1 0)
value=(local "local__name")
)
(
memory-store
pointer=(local "structValuePointer__0")
- layout=(struct (data-ptr (struct (int (struct (int int))))))
+ layout=(struct ((struct (data-ptr int)) (struct (int (struct (int int))))))
offset=(1 1 1)
value=(local "local__isActive")
)
@@ -41,11 +41,11 @@ Locals:
Instructions:
(
- (alloc-heap (local "closurePointer__User__0") (struct (data-ptr (struct (function-ptr (struct ()) (struct ()))))))
+ (alloc-heap (local "closurePointer__User__0") (struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct ()))))))
(
memory-store
pointer=(local "closurePointer__User__0")
- layout=(struct (data-ptr (struct (function-ptr (struct ()) (struct ())))))
+ layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct ())))))
offset=(1 0)
value=(function-ptr "shed__function__User__0")
)